package com.lanou.hotel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author msy
 * @since 2023-10-29
 */
@TableName("t_guests")
public class Guests implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    private String sex;

    private String card;

    private String phone;

    private String enterTime;

    private Integer num;

    private Integer tId;

    public Guests() {
    }

    public Guests(String id, String name, String sex, String card, String phone, String enterTime, Integer num, Integer tId) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.card = card;
        this.phone = phone;
        this.enterTime = enterTime;
        this.num = num;
        this.tId = tId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEnterTime() {
        return enterTime;
    }

    public void setEnterTime(String enterTime) {
        this.enterTime = enterTime;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    @Override
    public String toString() {
        return "Guests{" +
            "id = " + id +
            ", name = " + name +
            ", sex = " + sex +
            ", card = " + card +
            ", phone = " + phone +
            ", enterTime = " + enterTime +
            ", num = " + num +
            ", tId = " + tId +
        "}";
    }
}
